package org.osll.tictactoe.engine;

import java.io.Serializable;

import org.osll.tictactoe.Size;

public class SizeImpl implements Serializable, Size {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3097697420612814476L;
	private int dimX=0;
	private int dimY=0;
	
	@Override
	public int getHeight() {
		return dimY;
	}

	@Override
	public int getWidth() {
		return dimX;
	}

	public void setDimX(int dimX) {
		this.dimX = dimX;
	}

	public int getDimX() {
		return dimX;
	}

	public void setDimY(int dimY) {
		this.dimY = dimY;
	}

	public int getDimY() {
		return dimY;
	}

}
